<?php
if(!defined('EC_K')) {
	exit('Access Denied');
}
$uid=$_SGLOBAL['userid'];

if (!isset($uid))
	header("location:$root/index.php");
include($template->getfile('home.htm'));
?>